package com.web.activiti.mapper;

import com.web.activiti.pojo.BaoXiaoBill;
import com.web.activiti.pojo.BaoXiaoBillExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaoXiaoBillMapper {
    int countByExample(BaoXiaoBillExample example);

    int deleteByExample(BaoXiaoBillExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BaoXiaoBill record);

    int insertSelective(BaoXiaoBill record);

    List<BaoXiaoBill> selectByExample(BaoXiaoBillExample example);

    BaoXiaoBill selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BaoXiaoBill record, @Param("example") BaoXiaoBillExample example);

    int updateByExample(@Param("record") BaoXiaoBill record, @Param("example") BaoXiaoBillExample example);

    int updateByPrimaryKeySelective(BaoXiaoBill record);

    int updateByPrimaryKey(BaoXiaoBill record);
}